import req from '../http'
// 侧边栏的全部请求
export function user(data) {
    return  req({
        url: '/mbs/client/selectOne',
        method: 'get',
        params:data
    })
}

// 钱包
export function bag() {
    return  req({
        url: '/client/IntegrationHistory/web/getInitialHistory',
        method: 'get',
        // params:data
    })
}

//充值
export function addmoney(data){
     return req({
         url:'/mbs/accountStatement/addmoney',
         method:'post',
         data:data
     })
}
// 支付
export function pay(data){
    // console.log(data)
    return req({
        url:'/mbs/order/insertOrder',
        method:'post',
        data:data
    })
}
